
import  request  from '@/utils/request.js'

//获取搜索联想
export const getSearchXianng = (q) => {
    return request({
        method: "get",
        url: '/v1_0/suggestion',
        params: {
            q
        }
    })
}


//获取搜索栏数据
export const getSearchResult = params => {
    return request({
        method: "get",
        url: '/v1_0/search',
        params
    })
}